From 7ebc5454f4d31e01e2a34c4fbbcaa4d21b9edbc9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 15 Jul 2022 10:24:41 -0400 Subject: [PATCH] Drop an unused function --- gsk/gskprivate.c | 20 -------------------- gsk/gskprivate.h | 2 -- 2 files changed, 22 deletions(-) diff --git a/gsk/gskprivate.c b/gsk/gskprivate.c index d9e1c3e30f..8404b9dbc6 100644 --- a/gsk/gskprivate.c +++ b/gsk/gskprivate.c @@ -15,23 +15,3 @@ gsk_ensure_resources (void) g_once (®ister_resources_once, register_resources, NULL); } - -int -pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) -{ - int i, count; - - count = 0; - for (i = 0; i < glyphs->num_glyphs; i++) - { - PangoGlyphInfo *gi = &glyphs->glyphs[i]; - if (gi->glyph != PANGO_GLYPH_EMPTY) - { - if (!(gi->glyph & PANGO_GLYPH_UNKNOWN_FLAG)) - count++; - } - } - - return count; -} - diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h index 77c0fe2bf6..a8b92b4b18 100644 --- a/gsk/gskprivate.h +++ b/gsk/gskprivate.h @@ -8,8 +8,6 @@ G_BEGIN_DECLS void gsk_ensure_resources (void); -int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) G_GNUC_PURE; - typedef struct _GskVulkanRender GskVulkanRender; typedef struct _GskVulkanRenderPass GskVulkanRenderPass; -- 2.30.2